package com.cz073586.technology.model;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import com.cz073586.common.entity.pojo.PageInfo;

@Entity
@Table(name = "topic_info")
public class TopicType extends PageInfo<TopicType>
{
	@NotEmpty
	@Length(min = 1, max = 32)
	@Column(name = "uuid")
	private String uuid;
	
	@Column(name = "topic_type_name")
	private String topicTypeName;
	
	@Column(name = "bind_to_id")
	private String bindToId;
	
	private List<AdInfo> listAdInfo;
	
	private List<AdInfo> listUnAdInfo;
	
	public List<AdInfo> getListAdInfo()
	{
		return listAdInfo;
	}

	public void setListAdInfo(List<AdInfo> listAdInfo)
	{
		this.listAdInfo = listAdInfo;
	}

	public List<AdInfo> getListUnAdInfo()
	{
		return listUnAdInfo;
	}

	public void setListUnAdInfo(List<AdInfo> listUnAdInfo)
	{
		this.listUnAdInfo = listUnAdInfo;
	}

	public String getUuid()
	{
		return uuid;
	}
	
	public void setUuid(String uuid)
	{
		this.uuid = uuid;
	}
	
	public String getTopicTypeName()
	{
		return topicTypeName;
	}
	
	public void setTopicTypeName(String topicTypeName)
	{
		this.topicTypeName = topicTypeName;
	}
	
	public String getBindToId()
	{
		return bindToId;
	}
	
	public void setBindToId(String bindToId)
	{
		this.bindToId = bindToId;
	}
	
}